package org.eiahe.hr.performance.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.eiahe.hr.performance.domain.PerformanceResult;
import org.eiahe.hr.performance.domain.PerformanceRewardPunish;

import java.util.Date;

/**
 * 奖惩记录视图对象
 *
 * @author zhangnn
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = PerformanceRewardPunish.class)
public class PerformanceRewardPunishVo {

    /**
     * 记录ID
     */
    private Long recordId;

    /**
     * 租户ID
     */
    private String tenantId;

    /**
     * 工号
     */
    private String employeeNo;

    /**
     * 员工姓名
     */
    private String employeeName;

    /**
     * 记录类型(1奖励 2处罚)
     */
    private String recordType;

    /**
     * 记录类型名称
     */
    private String recordTypeName;

    /**
     * 事由
     */
    private String reason;

    /**
     * 记录时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date recordTime;

    /**
     * 处理结果
     */
    private String result;

    /**
     * 附件
     */
    private String attachment;

    /**
     * 删除标志(0存在 1删除)
     */
    private String delFlag;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
